package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.MoShareProfit;

import java.util.*;
public class MoShareProfitExample extends SgExample<MoShareProfitExample.Criteria> {
    public static final Class<MoShareProfit> beanClass = MoShareProfit.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn tradeMoney;
    public static EntityColumn agentId;
    public static EntityColumn costRate;
    public static EntityColumn profitMoney;
    public static EntityColumn createTime;
    public static EntityColumn orderId;
    public static EntityColumn businessId;
    public static EntityColumn profitId;
    public static EntityColumn agentRate;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        tradeMoney = listMap.get("tradeMoney");
        agentId = listMap.get("agentId");
        costRate = listMap.get("costRate");
        profitMoney = listMap.get("profitMoney");
        createTime = listMap.get("createTime");
        orderId = listMap.get("orderId");
        businessId = listMap.get("businessId");
        profitId = listMap.get("profitId");
        agentRate = listMap.get("agentRate");
        }

    public MoShareProfitExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected MoShareProfitExample.Criteria createCriteriaInternal() {
        return new MoShareProfitExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public MoShareProfitExample.Criteria andTradeMoneyIsNull() {
            return isNull(tradeMoney);
        }

        public MoShareProfitExample.Criteria andTradeMoneyIsNotNull() {
            return isNotNull(tradeMoney);
        }

        public MoShareProfitExample.Criteria andTradeMoneyEqualTo(String value) {
            return equalTo(tradeMoney, value);
        }

        public MoShareProfitExample.Criteria andTradeMoneyNotEqualTo(String value) {
            return notEqualTo(tradeMoney, value);
        }

        public MoShareProfitExample.Criteria andTradeMoneyGreaterThan(String value) {
            return greaterThan(tradeMoney, value);
        }

        public MoShareProfitExample.Criteria andTradeMoneyGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(tradeMoney, value);
        }

        public MoShareProfitExample.Criteria andTradeMoneyLessThan(String value) {
            return lessThan(tradeMoney, value);
        }

        public MoShareProfitExample.Criteria andTradeMoneyLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(tradeMoney, value);
        }

        public MoShareProfitExample.Criteria andTradeMoneyLike(String value) {
            return like(tradeMoney, value);
        }

        public MoShareProfitExample.Criteria andTradeMoneyNotLike(String value) {
            return notLike(tradeMoney, value);
        }

        public MoShareProfitExample.Criteria andTradeMoneyIn(List<String> values) {
            return in(tradeMoney, values);
        }

        public MoShareProfitExample.Criteria andTradeMoneyNotIn(List<String> values) {
            return notIn(tradeMoney, values);
        }

        public MoShareProfitExample.Criteria andTradeMoneyBetween(String value1, String value2) {
            return between(tradeMoney, value1, value2);
        }

        public MoShareProfitExample.Criteria andTradeMoneyNotBetween(String value1, String value2) {
            return notBetween(tradeMoney, value1, value2);
        }
        public MoShareProfitExample.Criteria andAgentIdIsNull() {
            return isNull(agentId);
        }

        public MoShareProfitExample.Criteria andAgentIdIsNotNull() {
            return isNotNull(agentId);
        }

        public MoShareProfitExample.Criteria andAgentIdEqualTo(Long value) {
            return equalTo(agentId, value);
        }

        public MoShareProfitExample.Criteria andAgentIdNotEqualTo(Long value) {
            return notEqualTo(agentId, value);
        }

        public MoShareProfitExample.Criteria andAgentIdGreaterThan(Long value) {
            return greaterThan(agentId, value);
        }

        public MoShareProfitExample.Criteria andAgentIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(agentId, value);
        }

        public MoShareProfitExample.Criteria andAgentIdLessThan(Long value) {
            return lessThan(agentId, value);
        }

        public MoShareProfitExample.Criteria andAgentIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(agentId, value);
        }

        public MoShareProfitExample.Criteria andAgentIdIn(List<Long> values) {
            return in(agentId, values);
        }

        public MoShareProfitExample.Criteria andAgentIdNotIn(List<Long> values) {
            return notIn(agentId, values);
        }

        public MoShareProfitExample.Criteria andAgentIdBetween(Long value1, Long value2) {
            return between(agentId, value1, value2);
        }

        public MoShareProfitExample.Criteria andAgentIdNotBetween(Long value1, Long value2) {
            return notBetween(agentId, value1, value2);
        }
        public MoShareProfitExample.Criteria andCostRateIsNull() {
            return isNull(costRate);
        }

        public MoShareProfitExample.Criteria andCostRateIsNotNull() {
            return isNotNull(costRate);
        }

        public MoShareProfitExample.Criteria andCostRateEqualTo(String value) {
            return equalTo(costRate, value);
        }

        public MoShareProfitExample.Criteria andCostRateNotEqualTo(String value) {
            return notEqualTo(costRate, value);
        }

        public MoShareProfitExample.Criteria andCostRateGreaterThan(String value) {
            return greaterThan(costRate, value);
        }

        public MoShareProfitExample.Criteria andCostRateGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(costRate, value);
        }

        public MoShareProfitExample.Criteria andCostRateLessThan(String value) {
            return lessThan(costRate, value);
        }

        public MoShareProfitExample.Criteria andCostRateLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(costRate, value);
        }

        public MoShareProfitExample.Criteria andCostRateLike(String value) {
            return like(costRate, value);
        }

        public MoShareProfitExample.Criteria andCostRateNotLike(String value) {
            return notLike(costRate, value);
        }

        public MoShareProfitExample.Criteria andCostRateIn(List<String> values) {
            return in(costRate, values);
        }

        public MoShareProfitExample.Criteria andCostRateNotIn(List<String> values) {
            return notIn(costRate, values);
        }

        public MoShareProfitExample.Criteria andCostRateBetween(String value1, String value2) {
            return between(costRate, value1, value2);
        }

        public MoShareProfitExample.Criteria andCostRateNotBetween(String value1, String value2) {
            return notBetween(costRate, value1, value2);
        }
        public MoShareProfitExample.Criteria andProfitMoneyIsNull() {
            return isNull(profitMoney);
        }

        public MoShareProfitExample.Criteria andProfitMoneyIsNotNull() {
            return isNotNull(profitMoney);
        }

        public MoShareProfitExample.Criteria andProfitMoneyEqualTo(String value) {
            return equalTo(profitMoney, value);
        }

        public MoShareProfitExample.Criteria andProfitMoneyNotEqualTo(String value) {
            return notEqualTo(profitMoney, value);
        }

        public MoShareProfitExample.Criteria andProfitMoneyGreaterThan(String value) {
            return greaterThan(profitMoney, value);
        }

        public MoShareProfitExample.Criteria andProfitMoneyGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(profitMoney, value);
        }

        public MoShareProfitExample.Criteria andProfitMoneyLessThan(String value) {
            return lessThan(profitMoney, value);
        }

        public MoShareProfitExample.Criteria andProfitMoneyLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(profitMoney, value);
        }

        public MoShareProfitExample.Criteria andProfitMoneyLike(String value) {
            return like(profitMoney, value);
        }

        public MoShareProfitExample.Criteria andProfitMoneyNotLike(String value) {
            return notLike(profitMoney, value);
        }

        public MoShareProfitExample.Criteria andProfitMoneyIn(List<String> values) {
            return in(profitMoney, values);
        }

        public MoShareProfitExample.Criteria andProfitMoneyNotIn(List<String> values) {
            return notIn(profitMoney, values);
        }

        public MoShareProfitExample.Criteria andProfitMoneyBetween(String value1, String value2) {
            return between(profitMoney, value1, value2);
        }

        public MoShareProfitExample.Criteria andProfitMoneyNotBetween(String value1, String value2) {
            return notBetween(profitMoney, value1, value2);
        }
        public MoShareProfitExample.Criteria andCreateTimeIsNull() {
            return isNull(createTime);
        }

        public MoShareProfitExample.Criteria andCreateTimeIsNotNull() {
            return isNotNull(createTime);
        }

        public MoShareProfitExample.Criteria andCreateTimeEqualTo(Date value) {
            return equalTo(createTime, value);
        }

        public MoShareProfitExample.Criteria andCreateTimeNotEqualTo(Date value) {
            return notEqualTo(createTime, value);
        }

        public MoShareProfitExample.Criteria andCreateTimeGreaterThan(Date value) {
            return greaterThan(createTime, value);
        }

        public MoShareProfitExample.Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            return greaterThanOrEqualTo(createTime, value);
        }

        public MoShareProfitExample.Criteria andCreateTimeLessThan(Date value) {
            return lessThan(createTime, value);
        }

        public MoShareProfitExample.Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            return lessThanOrEqualTo(createTime, value);
        }

        public MoShareProfitExample.Criteria andCreateTimeIn(List<Date> values) {
            return in(createTime, values);
        }

        public MoShareProfitExample.Criteria andCreateTimeNotIn(List<Date> values) {
            return notIn(createTime, values);
        }

        public MoShareProfitExample.Criteria andCreateTimeBetween(Date value1, Date value2) {
            return between(createTime, value1, value2);
        }

        public MoShareProfitExample.Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            return notBetween(createTime, value1, value2);
        }
        public MoShareProfitExample.Criteria andOrderIdIsNull() {
            return isNull(orderId);
        }

        public MoShareProfitExample.Criteria andOrderIdIsNotNull() {
            return isNotNull(orderId);
        }

        public MoShareProfitExample.Criteria andOrderIdEqualTo(Long value) {
            return equalTo(orderId, value);
        }

        public MoShareProfitExample.Criteria andOrderIdNotEqualTo(Long value) {
            return notEqualTo(orderId, value);
        }

        public MoShareProfitExample.Criteria andOrderIdGreaterThan(Long value) {
            return greaterThan(orderId, value);
        }

        public MoShareProfitExample.Criteria andOrderIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(orderId, value);
        }

        public MoShareProfitExample.Criteria andOrderIdLessThan(Long value) {
            return lessThan(orderId, value);
        }

        public MoShareProfitExample.Criteria andOrderIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(orderId, value);
        }

        public MoShareProfitExample.Criteria andOrderIdIn(List<Long> values) {
            return in(orderId, values);
        }

        public MoShareProfitExample.Criteria andOrderIdNotIn(List<Long> values) {
            return notIn(orderId, values);
        }

        public MoShareProfitExample.Criteria andOrderIdBetween(Long value1, Long value2) {
            return between(orderId, value1, value2);
        }

        public MoShareProfitExample.Criteria andOrderIdNotBetween(Long value1, Long value2) {
            return notBetween(orderId, value1, value2);
        }
        public MoShareProfitExample.Criteria andBusinessIdIsNull() {
            return isNull(businessId);
        }

        public MoShareProfitExample.Criteria andBusinessIdIsNotNull() {
            return isNotNull(businessId);
        }

        public MoShareProfitExample.Criteria andBusinessIdEqualTo(Long value) {
            return equalTo(businessId, value);
        }

        public MoShareProfitExample.Criteria andBusinessIdNotEqualTo(Long value) {
            return notEqualTo(businessId, value);
        }

        public MoShareProfitExample.Criteria andBusinessIdGreaterThan(Long value) {
            return greaterThan(businessId, value);
        }

        public MoShareProfitExample.Criteria andBusinessIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(businessId, value);
        }

        public MoShareProfitExample.Criteria andBusinessIdLessThan(Long value) {
            return lessThan(businessId, value);
        }

        public MoShareProfitExample.Criteria andBusinessIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(businessId, value);
        }

        public MoShareProfitExample.Criteria andBusinessIdIn(List<Long> values) {
            return in(businessId, values);
        }

        public MoShareProfitExample.Criteria andBusinessIdNotIn(List<Long> values) {
            return notIn(businessId, values);
        }

        public MoShareProfitExample.Criteria andBusinessIdBetween(Long value1, Long value2) {
            return between(businessId, value1, value2);
        }

        public MoShareProfitExample.Criteria andBusinessIdNotBetween(Long value1, Long value2) {
            return notBetween(businessId, value1, value2);
        }
        public MoShareProfitExample.Criteria andProfitIdIsNull() {
            return isNull(profitId);
        }

        public MoShareProfitExample.Criteria andProfitIdIsNotNull() {
            return isNotNull(profitId);
        }

        public MoShareProfitExample.Criteria andProfitIdEqualTo(Long value) {
            return equalTo(profitId, value);
        }

        public MoShareProfitExample.Criteria andProfitIdNotEqualTo(Long value) {
            return notEqualTo(profitId, value);
        }

        public MoShareProfitExample.Criteria andProfitIdGreaterThan(Long value) {
            return greaterThan(profitId, value);
        }

        public MoShareProfitExample.Criteria andProfitIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(profitId, value);
        }

        public MoShareProfitExample.Criteria andProfitIdLessThan(Long value) {
            return lessThan(profitId, value);
        }

        public MoShareProfitExample.Criteria andProfitIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(profitId, value);
        }

        public MoShareProfitExample.Criteria andProfitIdIn(List<Long> values) {
            return in(profitId, values);
        }

        public MoShareProfitExample.Criteria andProfitIdNotIn(List<Long> values) {
            return notIn(profitId, values);
        }

        public MoShareProfitExample.Criteria andProfitIdBetween(Long value1, Long value2) {
            return between(profitId, value1, value2);
        }

        public MoShareProfitExample.Criteria andProfitIdNotBetween(Long value1, Long value2) {
            return notBetween(profitId, value1, value2);
        }
        public MoShareProfitExample.Criteria andAgentRateIsNull() {
            return isNull(agentRate);
        }

        public MoShareProfitExample.Criteria andAgentRateIsNotNull() {
            return isNotNull(agentRate);
        }

        public MoShareProfitExample.Criteria andAgentRateEqualTo(String value) {
            return equalTo(agentRate, value);
        }

        public MoShareProfitExample.Criteria andAgentRateNotEqualTo(String value) {
            return notEqualTo(agentRate, value);
        }

        public MoShareProfitExample.Criteria andAgentRateGreaterThan(String value) {
            return greaterThan(agentRate, value);
        }

        public MoShareProfitExample.Criteria andAgentRateGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(agentRate, value);
        }

        public MoShareProfitExample.Criteria andAgentRateLessThan(String value) {
            return lessThan(agentRate, value);
        }

        public MoShareProfitExample.Criteria andAgentRateLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(agentRate, value);
        }

        public MoShareProfitExample.Criteria andAgentRateLike(String value) {
            return like(agentRate, value);
        }

        public MoShareProfitExample.Criteria andAgentRateNotLike(String value) {
            return notLike(agentRate, value);
        }

        public MoShareProfitExample.Criteria andAgentRateIn(List<String> values) {
            return in(agentRate, values);
        }

        public MoShareProfitExample.Criteria andAgentRateNotIn(List<String> values) {
            return notIn(agentRate, values);
        }

        public MoShareProfitExample.Criteria andAgentRateBetween(String value1, String value2) {
            return between(agentRate, value1, value2);
        }

        public MoShareProfitExample.Criteria andAgentRateNotBetween(String value1, String value2) {
            return notBetween(agentRate, value1, value2);
        }
    }
}